.class Lrexsee/natives/RexseeJavaView$6;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->removeChild(Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$cTag:Lrexsee/natives/ViewTag;

.field private final synthetic val$viewTag:Lrexsee/natives/ViewTag;


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Lrexsee/natives/ViewTag;Lrexsee/natives/ViewTag;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$6;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iput-object p3, p0, Lrexsee/natives/RexseeJavaView$6;->val$cTag:Lrexsee/natives/ViewTag;

    .line 398
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 401
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "Spinner"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 402
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Landroid/widget/Spinner;

    invoke-virtual {p0, v2}, Landroid/widget/Spinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    .line 430
    :goto_0
    return-void

    .line 403
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_0
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "Gallery"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ThreeDGallery"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 404
    :cond_1
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Landroid/widget/Gallery;

    invoke-virtual {p0, v2}, Landroid/widget/Gallery;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    goto :goto_0

    .line 405
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_2
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ListView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 406
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Landroid/widget/ListView;

    invoke-virtual {p0, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0

    .line 407
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_3
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "GridView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 408
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Landroid/widget/GridView;

    invoke-virtual {p0, v2}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0

    .line 409
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_4
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "SlidingDrawer"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 410
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/natives/widget/SlidingDrawer;

    invoke-virtual {v0}, Lrexsee/natives/widget/SlidingDrawer;->getHandle()Landroid/widget/FrameLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 411
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Lrexsee/natives/widget/SlidingDrawer;

    invoke-virtual {p0}, Lrexsee/natives/widget/SlidingDrawer;->getContent()Landroid/widget/FrameLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    goto :goto_0

    .line 412
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_5
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "Div"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 413
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$cTag:Lrexsee/natives/ViewTag;

    if-eqz v0, :cond_6

    .line 414
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/core/widget/Div;

    iget-object v0, v0, Lrexsee/core/widget/Div;->innerLayout:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lrexsee/natives/RexseeJavaView$6;->val$cTag:Lrexsee/natives/ViewTag;

    iget-object v1, v1, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V

    goto/16 :goto_0

    .line 416
    :cond_6
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Lrexsee/core/widget/Div;

    iget-object v0, p0, Lrexsee/core/widget/Div;->innerLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    goto/16 :goto_0

    .line 418
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_7
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ViewSwitcher"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 419
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/ViewSwitcher;

    invoke-virtual {v0}, Landroid/widget/ViewSwitcher;->getCurrentView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 420
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Landroid/widget/ViewSwitcher;

    invoke-virtual {p0}, Landroid/widget/ViewSwitcher;->getNextView()Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Landroid/widget/FrameLayout;->removeAllViews()V

    goto/16 :goto_0

    .line 421
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_8
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "PageView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 422
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Lrexsee/ebook/PageView;

    invoke-virtual {p0}, Lrexsee/ebook/PageView;->clear()V

    goto/16 :goto_0

    .line 424
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    :cond_9
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$cTag:Lrexsee/natives/ViewTag;

    if-eqz v0, :cond_a

    .line 425
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lrexsee/natives/RexseeJavaView$6;->val$cTag:Lrexsee/natives/ViewTag;

    iget-object v1, v1, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    goto/16 :goto_0

    .line 427
    :cond_a
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$6;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$6;
    check-cast p0, Landroid/view/ViewGroup;

    invoke-virtual {p0}, Landroid/view/ViewGroup;->removeAllViews()V

    goto/16 :goto_0
.end method
